@font-face {
    font-family: CaslonIonic-Regular;
    font-weight: 700;
    src: url(./asset/font/CaslonIonic-Regular.otf) format("truetype");
    text-rendering: optimizeLegibility;
}
* {
    padding: 0;
    margin: 0;
}

.about {
    position: fixed;
    top: 0;
    z-index: 999;
    font-family: CaslonIonic-Regular;
    padding: 20px;
    cursor: pointer;
    font-size: 12px;
    span {
        font-size: 20px;
    }
}
.photo-wall {
    text-align: center;
    position: absolute;
    z-index: 1;
    background-color: #fff;
    margin: calc(50vh - 420px) 0;
    .photo-wrapper {
        display: inline-block;
        height: 240px;
        margin: 100px;
        cursor: pointer;
        transition: .5s;
        img {
            display: inline;
            margin: 0;
            padding: 0;
            width: auto;
            height: 100%;
            vertical-align: middle;
            object-fit: contain;
        }
    }
}
.modal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #fff;
    .close {
        position: fixed;
        right: 0;
        display: none;
        padding: 20px;
        z-index: 3;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-weight: normal;
        cursor: pointer;
        font-family: CaslonIonic-Regular;
    }
    .detail-photo {
        transition: .5s;
        opacity: 0;
        padding: 25px 20px;
        width: calc(100vw - 40px);
        height: calc(100vh - 50px);
        overflow: hidden;
        position: relative;
        cursor: pointer;
        img {
            position: absolute;
            max-width: calc(100vw - 40px);
            height: calc(100vh - 50px);
            object-fit: contain;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transform-origin: left;
        } 
    }
}